bin_PROGRAMS = limshsql
limshsql_SOURCES = interface.c limshsql.c strings.c symloader.c
plugindir = $(libdir)/limshsql

AM_CFLAGS = -ldl -rdynamic -lmenu -lncurses -DPLUGINS_LOCATION=\"$(plugindir)\"

plugin_LTLIBRARIES = libdummy.la
libdummy_la_CFLAGS = $(DUMMY_CFLAGS)
libdummy_la_LDFLAGS = $(DUMMY_LDFLAGS)
libdummy_la_SOURCES = dummy_backend.c

if BUILD_MYSQL
	plugin_LTLIBRARIES += libmysql.la
	libmysql_la_CFLAGS = $(MYSQL_CFLAGS)
	libmyslq_la_LDFLAGS = $(MYSQL_LDFLAGS)
	libmysql_la_SOURCES = mysql_backend.c
endif


